import { request } from '../../utils/request.js'
Page({
    onShow: function() {
        let that = this
        request({
            url: '/home/user/coupon',
            method: 'GET',
            success(data) {
                that.setData({ couponList: data.data.data })
            }
        })
    }
})